package model;

public class User {
	private int id;
	private String username;
	private String password;
	private String email;
	private int lever;
	private String avatar;
	
	public User(String username, String password, String email,String avatar) {
		this.username = username;
		this.password = password;
		this.email = email;
		this.avatar = avatar;
	}

	public User(String s1, String s2) {
		this.username = s1;
		this.password = s2;
		this.email = s1;
		this.avatar = s2;
	}

	public User(String s){
		this.username = s;
		this.email = s;
		this.avatar = s;
	}
	
	public User(){}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getLever() {
		return lever;
	}

	public void setLever(int lever) {
		this.lever = lever;
	}
	
	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

}
